import React from 'react';
import Navbar from '../../compents/NavBar';
import { SubmitBar } from 'react-vant';
import { useNavigate } from 'react-router-dom';
type Props = {}

const Index = (props: Props) => {
  let navigate = useNavigate();
  return (
    <div>
      <Navbar />
      <div className='Date'>
        <img src="https://t10.baidu.com/it/u=1472401995,1612197972&fm=58" alt="" />
        <p><h2>厘清地平线上的艺术魅力:视觉创意聚集的未来空间</h2></p>
      </div>
      <SubmitBar price="29900" buttonText="立即购票" onSubmit={() => navigate('/gp')} />
    </div>
  )
}

export default Index;